package com.qmhl.toolposition.activity

import android.content.Context
import android.graphics.Point
import android.view.View
import com.lxj.xpopup.core.PositionPopupView
import com.qmhl.toolposition.R
import com.qmhl.toolposition.utils.DisplayUtil

class TravelMsgPopup(context: Context) : PositionPopupView(context) {
    override fun getImplLayoutId(): Int {
        return R.layout.popup_notification_msg
    }

    override fun onCreate() {
        super.onCreate()
//        findViewById<View>(R.id.tvClose).setOnClickListener(
//            OnClickListener { dismiss() })
    }

    override fun getPopupWidth(): Int {


        return DisplayUtil.getScreenWidth(context)
    }
}